#include "gant_factory.h"

#include "Buttons/loading_button.h"
#include "Buttons/loading_button_2.h"
#include "FramelessWidget/frameless_widget.h"

std::unique_ptr<GAntFramelessWidget> GAntFactroy::createGAntFramelessWidget(QWidget* parent)
{
    return std::make_unique<GAntFramelessWidget>(parent);
}

std::unique_ptr<LoadingButton> GAntFactroy::createLoadingButton(QWidget* parent)
{
    return std::make_unique<LoadingButton>(parent);
}

std::unique_ptr<LoadingButton> GAntFactroy::createLoadingButton(const QString& text, QWidget* parent)
{
    return std::make_unique<LoadingButton>(text, parent);
}

std::unique_ptr<LoadingButton2> GAntFactroy::createLoadingButton2(QWidget* parent)
{
    return std::make_unique<LoadingButton2>(parent);
}
